<template>
  <div id="app">
    <el-row :gutter="10">
      <el-col :span="4">
        <img src="./assets/logo.png" height="25%" width="25%" onclick="window.open('../admin')"
      /></el-col>
      <el-col :span="16">
        <h1 id="title">疫情数据大屏</h1>
      </el-col>
      <el-col :span="2" :offset="2">
        <navBar></navBar>
      </el-col>
    </el-row>

    <!-- <hr> -->
    <el-row :gutter="20" id="content">
      <!-- 左边 -->
      <el-col :span="8">
        <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">
            <el-col :span="24">
              <!-- 新增、死亡饼图 -->
              <bing style="with: 100px; height: 300px"></bing>
            </el-col>
          </el-row>
        </div>
        <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">
            <el-col :span="24">
              <!-- 五日新增 -->
              <zhe style="with: 100px; height: 200px"></zhe>
            </el-col>
          </el-row>
        </div>
        <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">
            <el-col :span="24">
              <!-- 五日死亡 -->
              <zhe1 style="with: 100px; height: 200px"></zhe1>
            </el-col>
          </el-row>
        </div>
        <!-- <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">

            <el-col :span="24">
              治愈比例饼图
              <bing1 style="with: 100px;height: 200px;"></bing1>
            </el-col>

          </el-row>
        </div> -->
      </el-col>

      <!-- 中间 -->
      <el-col :span="8">
        <el-row :gutter="10">
          <div class="grid-content bg-purple-dark">
            主要信息
            <china-map style="height: 300px"></china-map>
          </div>
        </el-row>
        <el-row :gutter="10">
          <!-- <el-col :span="12">
            <div class="grid-content bg-purple-dark">

            </div>
          </el-col> -->
          <el-col :span="24">
            <div class="grid-content bg-purple-dark">
              <c2></c2>
            </div>
          </el-col>
        </el-row>
      </el-col>

      <!-- 右边 -->
      <el-col :span="8">
        <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">
            <el-col :span="24">
              <!-- 治愈比例饼图 -->
              <bing1 style="with: 100px; height: 200px"></bing1>
            </el-col>
          </el-row>
        </div>
        <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">
            <el-col :span="24"> <province-list> </province-list></el-col>
          </el-row>
        </div>
        <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">
            <!-- <el-col :span="24"> 辅助信息1<br /><br /><br /><br /> </el-col> -->
            热点
            <news></news>
          </el-row>
        </div>
        <!-- <div class="grid-content bg-purple-dark">
          <el-row :gutter="10">
            <el-col :span="24"> 辅助信息1<br /><br /><br /><br /> </el-col>
          </el-row>
        </div> -->
      </el-col>
    </el-row>
    <!-- <router-view></router-view> -->
    <!-- <bing></bing> -->
  </div>
</template>

<script>
import chinaMap from "./components/chinaMap.vue";
import navBar from "./components/navBar.vue";
import bing from "@/components/F1-bing.vue";
import zhe from "@/components/F2-zhe.vue";
import zhe1 from "@/components/F3-zhe.vue";
import bing1 from "@/components/F4-bing.vue";
import provinceList from "@/components/Province-List.vue";
import news from "@/components/news.vue";
import c2 from "@/components/c2.vue";

export default {
  name: "app",
  components: {
    chinaMap,
    navBar,
    bing,
    zhe,
    zhe1,
    bing1,
    provinceList,
    news,
    c2,
  },
};
</script>

<style>
#app {
  /* background-image: url("https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fhelp.fanruan.com%2Fdvg%2Fuploads%2F20210623%2F1624412502779932.png&refer=http%3A%2F%2Fhelp.fanruan.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1652435232&t=d6d1044c5854e9b0fbf7d08c15cb8c5d"); */
  background-image: url("https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fhelp.fanruan.com%2Fdvg%2Fuploads%2F20210623%2F1624413394734303.png&refer=http%3A%2F%2Fhelp.fanruan.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1652444388&t=cc4718df93ee5b768454bdb041d709f6");
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  /* color: #2c3e50; */
  color: #fff;

  /* margin-top: 60px; */
}
#title {
  color: #fafafa;

  letter-spacing: 0;

  text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777,
    0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333,
    0px 8px 7px #001135;
}

#content {
  /* border: #fff; */
  /* color: #d3dce6; */
  /* background-color: #2c3e50; */
}
.el-row {
  margin-bottom: 10px;

  /* & :last-child {
      margin-bottom: 0;
    } */
}
.el-col {
  border-radius: 4px;
}

.bg-purple-dark {
  height: 100%;
  border-width: 1px;
  /* border-color: #99a9bf;; */
  border-style: solid;
  margin: 10px;
  background: rgb(107, 102, 169, 0.4);
  /* background-color: #99a9bf; */
  /* background: #99a9bf; */
  /* background-color: #2c3e50; */
  /* background: rgb(rgb(115, 91, 91), rgb(60, 73, 60), rgb(29, 29, 30)); */
}

.bg-purple {
  background: #d3dce6;
}

.bg-purple-light {
  background: #e5e9f2;
}

.grid-content {
  border-radius: 4px;
  min-height: 36px;
}

.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
</style>
